package com.gjintel.framework.holidayset.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
@Entity
@Table(name = "T_SYS_HOLIDAYS")
@SuppressWarnings("serial")
public class HolidaySet implements Serializable {
	private String id;
	private String at_day;
	private String at_year;
	private String descript;
	private Date updateTime;
	private String create_name;
	private Integer delete_flag = 0;
	private Integer hoilday_type;//1: 节假，2：补班，3：双休
	
	@Id
	@GeneratedValue(generator = "UIDGenerator")
	@GenericGenerator(name = "UIDGenerator", strategy = "org.hibernate.id.UUIDHexGenerator")
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name = "AT_DAY", insertable = true, updatable = true)
	public String getAt_day() {
		return at_day;
	}
	public void setAt_day(String at_day) {
		this.at_day = at_day;
	}
	
	@Column(name = "AT_YEAR", insertable = true, updatable = true)
	public String getAt_year() {
		return at_year;
	}
	
	public void setAt_year(String at_year) {
		this.at_year = at_year;
	}
	
	@Column(name = "DESCRIPT", insertable = true, updatable = true)
	public String getDescript() {
		return descript;
	}
	public void setDescript(String descript) {
		this.descript = descript;
	}

	@Column(name = "UPDATE_TIME", insertable = true, updatable = true)
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	@Column(name = "CREATE_NAME", insertable = true, updatable = true)
	public String getCreate_name() {
		return create_name;
	}
	public void setCreate_name(String create_name) {
		this.create_name = create_name;
	}

	public void setDelete_flag(Integer delete_flag) {
		this.delete_flag = delete_flag;
	}

	public Integer getDelete_flag() {
		return delete_flag;
	}

	@Column(name = "holiday_type", insertable = true, updatable = true)
	public Integer getHoilday_type() {
		return hoilday_type;
	}

	public void setHoilday_type(Integer hoilday_type) {
		this.hoilday_type = hoilday_type;
	}
	
	

}
